package walkthetalktech;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.scheduling.annotation.EnableScheduling;
import walkthetalktech.application.WebConfig;

/**
 * 作者: guo yao
 * 日期: 2016年01月14日
 * 时间: 下午14:45
 */
@SpringBootApplication
@EnableScheduling
public class SpringBootServer extends WebConfig {

    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
        return builder.sources(SpringBootServer.class);
    }


    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(SpringBootServer.class);
        app.run(args);
    }


}
